<div class="layui-tab layui-tab-brief">
	<ul class="layui-tab-title">
		<li class="layui-this">
      		<a href="{:url('daili/index')}" class="" id="">代理列表</a>
   		</li>  
     	<li>
       		<a href="{:url('daili/indexDsh')}" class="" id="">待审核列表</a>
      	</li> 
 	</ul>
	<div class="layui-tab-content page-tab-content">
   		<div class="layui-tab-item layui-show"> 
      		<div class="layui-form layui-border-box layui-table-view"> 
      			<div class="layui-table-box"> 
      				<div class="layui-table-body layui-table-main">
      					<table cellspacing="0" cellpadding="0" border="0" class="layui-table">
      						<thead>
      							<tr> 
      								<th>
      									<div class="layui-table-cell"><span>姓名</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>等级</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>系统个数</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>电话</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>身份证号</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>地区</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>状态</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>加入时间</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>上次登录时间</span></div>
      								</th> 
      								<th>
      									<div class="layui-table-cell"><span>操作</span></div>
      								</th>
      							</tr>
      						</thead>
      						<tbody> 
      							{volist name="daili_list" id="v"}
      							<tr> 
      								<td>
      									<div class="layui-table-cell">{$v.dlname}</div>
      								</td>
      								<td>
      									<div class="layui-table-cell">{$v.levelname}</div>
      								</td>
      								<td>
      									<div class="layui-table-cell">{$v.xtgs}</div>
      								</td>
      								<td>
      									<div class="layui-table-cell">{$v.dl_phone}</div>
      								</td>
      								<td>
      									<div class="layui-table-cell">{$v.sfzh}</div>
      								</td>
      								<td>
      									<div class="layui-table-cell">{$v.province_text}&nbsp;{$v.city_text}&nbsp;{$v.area_text}</div>
      								</td>
      								<td>
      									<div class="layui-table-cell"> 
	      									<input type="checkbox" name="status" value="1" lay-skin="switch" lay-filter="switchStatus" lay-text="正常|锁定" {if condition="$v['status'] eq 1"}checked=""{/if} data-href="{:url('status?table=daili&id='.$v['id'])}">
	      									<div class="layui-unselect layui-form-switch layui-form-onswitch" lay-skin="_switch">
	      										<em>正常</em>
	      										<i></i>
	      									</div> 
      									</div>
      								</td>
      								<td>
      									<div class="layui-table-cell">{$v.create_time|date="Y-m-d H:i:s"}</div>
      								</td>
      								<td>
      									<div class="layui-table-cell">{$v.last_login_time|date="Y-m-d H:i:s"}</div>
      								</td> 
      								<td class="layui-table-col-special">
      									<div class="layui-table-cell"> 
      										<a href="{:url('daili/dlxq',array('id'=>$v['id']))}" class="layui-btn layui-btn-xs layui-btn-normal">查看详情</a> 
      										<!--  
      										<a href="" class="layui-btn layui-btn-xs layui-btn-danger j-tr-del">删除</a> 
      										-->
      									</div>
      								</td>
      							</tr> 
      							{/volist} 				
      						</tbody>
      					</table>
      				</div>
      			</div>
      		</div> 
       	</div>
  	</div>
</div>
{include file="block/layui" /}